home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / scanbat.zip / QUICK.DOC < prev    next >
Text File  |  1990-01-11  |  34KB  |  1,099 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                     S C A N L O N    E N T E R P R I S E S
  9.  
  10.                   B A T C H     F I L E     U T I L I T I E S
  11.  
  12.                              Version 2.2  (SEBFU)
  13.  
  14.                                    (C) 1989
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                    Q U I C K   R E F E R E N C E   G U I D E
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.                  ADD       Syntax : ADD var v
  36.  
  37.        Where  'var'  is any legal Dos variable, previously  assigned  at
  38.        least zero (set var=0) and 'v' is the amount to add to 'var', and
  39.        is in the range of 0 thru 9, with a default value of 1, if 'v' is
  40.        not specified.
  41.  
  42.                  BEEP      Syntax : BEEP [n] [P] [K]
  43.  
  44.        Where 'n' specifies the number of beeps, 'P' causes the beeps  to
  45.        occur  every  second (instead of right away) and 'K'  causes  the
  46.        beeps to occur every second until a key is pressed.
  47.  
  48.                  BIGLTR    Syntax : BIGLTR message, bc fc
  49.  
  50.        Where 'message' is any 10 alpha numeric characters (ascii  values
  51.        in  the  range of 0 thru 255), 'bc' is the background  color  and
  52.        'fc'  the foreground color.  This command will display,  starting
  53.        at the current row and column, any text included in 'message', as
  54.        long  as you do not exceed the 10 character limit.  If  'message'
  55.        is longer than 10 characters, then 'message' will be truncated at
  56.        the  tenth character.  The characters so displayed will be  large
  57.        characters of 9 rows by 8 columns.
  58.  
  59.                  CDCK      Syntax : CDCK
  60.  
  61.        Simply  returns  an  errorlevel  of 1 if  the  CD-Rom  driver  is
  62.        present, else returns an errorlevel of 0.
  63.  
  64.                  CDD       Syntax : CDD n
  65.  
  66.        Where  'n' is the number of directory levels to move  toward  the
  67.        root directory.
  68.  
  69.                  CGABORDR  Syntax : CGABORDR n
  70.  
  71.        Changes the CGA border color to the selected value of 'n'.
  72.  
  73.                  CHGC      Syntax : CHGC sr sc er ec bc fc
  74.  
  75.        Changes   the  screen  colors,  without  affecting   the   screen
  76.        characters, for the selected screen range.
  77.  
  78.        Where  'sr'  is the start row, 'sc' the start  column,  'er'  the
  79.        ending row, 'ec' the ending column, 'bc' the background color and
  80.        'fc' the foreground color.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.                                    Page 2
  91.  
  92.  
  93.  
  94.                        Q U I C K    R E F E R E N C E
  95.  
  96.                              SEBFU  Version 2.2
  97.  
  98.  
  99.  
  100.                  CHGLOCK   Syntax : CHGLOCK [C] [N] [S]
  101.  
  102.        Toggles  the  existing  state of the selected  lock  key,  where,
  103.        C=caps  lock, N=num lock and S=Scroll lock.  CHGLOCK without  any
  104.        parameters causes all current settings to reverse (toggle).
  105.  
  106.                  CHKSUM    Syntax : CHKSUM fname n
  107.  
  108.        Where  'fname' is the file to get a check sum for, and 'n' is  an
  109.        optional checksum value to compare the calculated one with.
  110.  
  111.                  CK101
  112.  
  113.        Returns  an errorlevel of 0 if a 101 type keyboard  is  attached,
  114.        providing  the  Rom  Bios supports this  mode,  else  returns  an
  115.        errorlevel of 1.
  116.  
  117.                  CKCLK
  118.  
  119.        Returns  an  errorlevel of 1 if Dos reports the  year  1980  else
  120.        returns  an errorlevel of 0. Use this as a first guess  that  the
  121.        Dos time and date has been set.
  122.  
  123.                  CLR sr sc er ec bc fc
  124.  
  125.        Clears  the screen starting at the specified row 'sr' and  column
  126.        'sc'  thru  row 'er' and column 'ec' using the  specified  colors
  127.        'bc' (background) and 'fc' (foreground).
  128.  
  129.                  CLRKEY
  130.  
  131.        Clears  the type ahead buffer.  Prevents the user  from  entering
  132.        responses in advance of the questions or prompts.
  133.  
  134.                  COFF
  135.  
  136.        Toggles the cursor off on most MGA and CGA systems, but will  NOT
  137.        always work on MGA systems, and won't work on EGA or VGA systems.
  138.  
  139.                  COLOR bc fc
  140.  
  141.        Sets  the  screen colors, providing that ANSI.SYS or  other  ANSI
  142.        driver  has been installed.  The colors are set to  the  selected
  143.        background 'bc' and foreground 'fc' color.  Prior to using  this,
  144.        use our DETANSI function to check for the existence of the driver
  145.  
  146.                  CR
  147.  
  148.        Waits  for the ENTER key to be pressed.  All key  strokes  simply
  149.        cause the speaker to beep.
  150.  
  151.  
  152.  
  153.                                    Page 3
  154.  
  155.  
  156.  
  157.                        Q U I C K    R E F E R E N C E
  158.  
  159.                              SEBFU  Version 2.2
  160.  
  161.  
  162.  
  163.                  CT
  164.  
  165.        Toggles  the cursor on or off, depending upon which state  it  is
  166.        currently in.  CT does NOT work on all systems.
  167.  
  168.                  CUON
  169.  
  170.        Makes the cursor visible.
  171.  
  172.                  CURKEY
  173.  
  174.        Returns  an  errorlevel of 1 thru 4 depending upon which  of  the
  175.        four cursor control keys is pressed.  The four values are :
  176.  
  177.                  1 = up arrow          2 = down arrow
  178.                  3 = left arrow        4 = right arrow
  179.  
  180.        If  the enter key is pressed or escape keys are pressed,  the  an
  181.        errorlevel  of 0 is returned, any other key press will result  in
  182.        the speaker beeping.
  183.  
  184.                  DAYOFMO
  185.  
  186.        Returns  an  errorlevel of 1 thru 31 for the current day  of  the
  187.        month  as  reported by Dos.  Dos must have the correct  time  and
  188.        date for this to function properly.  To determine if the Dos time
  189.        and Date are set, use our CKCLK function.
  190.  
  191.                  DAYOFWK [mm-dd-yy] [D]
  192.  
  193.        In the functions basic format, returns an errorlevel representing
  194.        the  day of week (Sunday = 1 .... Saturday = 7).  In  the  second
  195.        format, the user specifies the date to return the day of week for
  196.        in the format 'mm-dd-yy' and finally the last format returns  the
  197.        day  of month, by appending the letter 'D' (upper or lower  case)
  198.        after the function name.
  199.  
  200.                  DBLBOX sr sc er ec bc fc Pp
  201.  
  202.        Draws  a  double line graphics box starting at row  'sr',  column
  203.        'sc'  and  ending at row 'er' column 'ec', using  the  background
  204.        color 'bc' and foreground color 'fc' on page 'p' (prefixed by the
  205.        P {upper or lower case}).
  206.  
  207.                  DETANSI
  208.  
  209.        Returns an errorlevel of 1 if an ansi device drive is  installed,
  210.        a 0 if an ansi driver is not installed, or a 2 if the video  mode
  211.        is graphics.
  212.  
  213.  
  214.  
  215.  
  216.                                    Page 4
  217.  
  218.  
  219.  
  220.                        Q U I C K    R E F E R E N C E
  221.  
  222.                              SEBFU  Version 2.2
  223.  
  224.  
  225.  
  226.                  DFREE d: [vname]
  227.  
  228.        Returns  an  errorlevel  in  K bytes for  bytes  available  on  a
  229.        selected  drive  'd:', or places the exact value  in  a  selected
  230.        variable 'vname'. The selected drive letter may be upper or lower
  231.        case,  and  must be prefixed with the colon.   Alternately,  will
  232.        return an errorlevel of 0 if an incorrect drive is specified  and
  233.        the  variable  is  not  specified, or a  1  if  the  variable  is
  234.        specified and the selected drive is not available.
  235.  
  236.                  DLINE sr sc l bc fc p S
  237.                  DLINE Pp l S
  238.  
  239.        Draws  a  double  or single line, using  double  or  single  line
  240.        graphics on the video or sends the line to the selected  printer,
  241.        using length 'l', starting on row 'sr' column 'sc' (video), using
  242.        the background color 'bc' and foreground color 'fc' on page 'p'.
  243.  
  244.                  DLST ftype [/Ln] [/Rn] [/Bn] [/Tn] [/E list]
  245.                             [/I list] [/X] [/D] [/Z]
  246.  
  247.        Displays a list of files in the current directory, where :
  248.  
  249.        ftype  is  the type of file(s) to display, and can  use  the  Dos
  250.        wildcards (*.*, ???.???).
  251.  
  252.        /Ln = Left margin of 'n'        /Rn = Right margin of 'n'
  253.        /Bn = Last margin 'n' to use    /Tn = First line to use 'n'
  254.        /E list = exclude list           /I list = include list
  255.        /X = no extensions shown        /D = show directories
  256.